package com.platform.common.core.domain.entity;

import com.platform.common.core.annotation.Excel;
import com.platform.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 运单标签对象 gjc_mawb_tag
 *
 * @author platform
 * @date 2023-09-07
 */
public class GjcMawbTag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标签主键ID */
    @Excel(name = "标签主键ID")
    private Long tagId;

    /** 运单主表ID */
    @Excel(name = "运单主表ID")
    private Long mawbId;

    /** 标签内容 */
    @Excel(name = "标签内容")
    private String tagName;

    public void setTagId(Long tagId)
    {
        this.tagId = tagId;
    }

    public Long getTagId()
    {
        return tagId;
    }
    public void setMawbId(Long mawbId)
    {
        this.mawbId = mawbId;
    }

    public Long getMawbId()
    {
        return mawbId;
    }
    public void setTagName(String tagName)
    {
        this.tagName = tagName;
    }

    public String getTagName()
    {
        return tagName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tagId", getTagId())
            .append("mawbId", getMawbId())
            .append("tagName", getTagName())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
